/********************* 全局配置 *********************/
* {
    margin: 0;
    padding: 0;
    user-select: none;
}

ul {
    list-style: none;
}

.navigation ul li {
    padding: 5px 20px;
}

a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
}

.main {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    position: absolute;
    align-items: center;
    background-color: rgb(240, 241, 245);
}

/********************* navigation *********************/
.navigation {
    width: 12%;
    height: 95%;
    margin-left: 1%;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.navigation li a {
    color: #fff;
    display: block;
    font-size: 20px;
    padding: 10px 10px;
    text-align: center;
    border-radius: 15px;
    transition: all 1s ease;
    background-color: rgb(88, 203, 250);
}

.navigation li a:hover {
    opacity: 0.7;
}

.navigation .head-portraits {
    padding: 10px;
    text-align: center;
}

.navigation .head-portraits img {
    padding: 1px;
    border-radius: 100%;
    border: 2px solid #DBDBDB;
}

.navigation .head-portraits .hello {
    padding-top: 5px;
}

.navigation .head-portraits span {
    font-size: 16px;
    font-family: "宋体";
}

/********************* main-show *********************/
.main-show {
    width: 83%;
    height: 95%;
    margin: 0 auto;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.main-show>.parcel-div {
    height: 95%;
    padding: 20px;
    display: flex;
}

.main-show .goods-show {
    width: 80%;
    display: flex;
    flex-direction: column;
}

.main-show .title {
    font-size: 30px;
    line-height: 80px;
    text-align: center;
    font-family: "宋体";
    border-bottom: 2px solid #DBDBDB;
}

.main-show .goods-list {
    margin: 20px;
    flex-grow: 1;
}

.main-show .goods-column {
    display: flex;
    line-height: 40px;
    text-align: center;
    background-color: #c4c4c4;
    border: 1px solid #b3b3b3;
}

.main-show .goods-column span {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}

.main-show .goods-column span:first-child,
.main-show li div:first-child {
    width: 30%;
}

.main-show .goods-column span:nth-child(2),
.main-show li div:nth-child(2) {
    width: 15%;
}

.main-show .goods-column span:nth-child(3),
.main-show li div:nth-child(3) {
    width: 45%;
}

.main-show .goods-column span:last-child,
.main-show li div:last-child {
    width: 10%;
}

.main-show li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #b3b3b3;
}

.main-show .operate {
    display: flex;
    justify-content: center;
}

.main-show .operate span {
    color: #fff;
    margin: 0 5px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 5px;
    transition: all 0.5s ease;
    background-color: #009688;
}

.main-show .operate span:hover {
    opacity: 0.7;
}

.main-show li div:first-child,
.main-show li div:nth-child(2) {
    text-align: center;
}

.main-show .goods-show .paging-controler {
    display: flex;
    margin: 0 20px;
    align-items: center;
    justify-content: center;
}

.main-show .goods-show .paging-controler button {
    border: none;
    color: #fff;
    margin: 0 20px;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.5s ease;
    background-color: rgb(88, 203, 250);
}

.main-show .goods-show .paging-controler button:hover {
    opacity: 0.7;
}

.main-show .paging-controler .parcel-div span {
    line-height: 30px;
    font-family: "黑体";
    color: rgba(0, 0, 0, 0.7);
}

.main-show .paging-controler .parcel-div {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-show .paging-controler .parcel-div div {
    display: inline-block;
}

.main-show .paging-controler .parcel-div .right-part {
    width: 30px;
    height: 30px;
    margin-left: 5px;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid rgb(88, 203, 250);
}

.main-show .goods-controler {
    width: 20%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main-show .font-logo span {
    font-size: 32px;
    line-height: 80px;
    font-style: italic;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgb(88, 203, 250);
}

.main-show .add-goods {
    margin: 10px 0;
    cursor: pointer;
    padding: 15px 25px;
    height: fit-content;
    border-radius: 10px;
    transition: all 0.5s ease;
    background-color: rgb(88, 203, 250);
}

.main-show .add-goods:hover {
    opacity: 0.8;
}

.main-show .add-goods span {
    color: #fff;
    font-size: 20px;
}

/********************* 遮罩 *********************/
.mask {
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
}

/********************* 添加商品 *********************/
.edit-add-goods {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: auto;
    display: none;
    position: fixed;
    width: fit-content;
    height: fit-content;
    border-radius: 10px;
    padding: 20px 40px 40px;
    background-color: #fff;
}

.edit-add-goods .close-lable {
    right: 40px;
    cursor: pointer;
    position: absolute;
    width: fit-content;
    height: fit-content;
}

.edit-add-goods .title {
    line-height: 50px;
    text-align: center;
}

.edit-add-goods .title span {
    font-size: 20px;
    font-weight: bold;
    font-family: "楷体";
}

.edit-add-goods .parcel-div {
    display: flex;
}

.edit-add-goods .goods-upload-img {
    display: flex;
}

.edit-add-goods .goods-upload-img img {
    width: 144px;
    height: 144px;
    border: 1px solid #DBDBDB;
}

.edit-add-goods form div:nth-child(3) .right-part {
    flex-grow: 1;
}

.edit-add-goods .save-goods-btn {
    display: flex;
    margin-top: 15px;
    justify-content: center;
}

.edit-add-goods .save-goods-btn button {
    border: none;
    color: #fff;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 2px;
    padding: 10px 30px;
    transition: all 0.5s ease;
    background-color: #009688;
}

.edit-add-goods .save-goods-btn button:hover {
    opacity: 0.8;
}

body>div>div.edit-add-goods>form>.parcel-div>div>.layui-form-item>label,
body>div>div.edit-add-goods>form>.parcel-div>div>.layui-form-item>.layui-input-block>input,
body>div>div.edit-add-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(2)>div>div>div>input,
body>div>div.edit-add-goods>form>div:nth-child(2)>div.goods-color-select>.layui-form-item>div>div>div>input,
body>div>div.edit-add-goods>form>div:nth-child(3)>div.left-part>label,
body>div>div.edit-add-goods>form>div:nth-child(3)>div.right-part>div>textarea,
body>div>div.edit-add-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(4)>div>div>div>input {
    border: 1px solid #DBDBDB;
}

body>div>div.edit-add-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(1)>div,
body>div>div.edit-add-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(2)>div,
body>div>div.edit-add-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(3)>div {
    margin-right: 10px;
}

body>div>div.edit-add-goods>form>div:nth-child(3)>div.right-part>div {
    margin-left: 0;
}

/********************* 编辑商品 *********************/
.edit-goods {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: auto;
    display: none;
    position: fixed;
    width: fit-content;
    height: fit-content;
    border-radius: 10px;
    padding: 20px 40px 40px;
    background-color: #fff;
}

.edit-goods .close-lable {
    right: 40px;
    cursor: pointer;
    position: absolute;
    width: fit-content;
    height: fit-content;
}

.edit-goods .title {
    line-height: 50px;
    text-align: center;
}

.edit-goods .title span {
    font-size: 20px;
    font-weight: bold;
    font-family: "楷体";
}

.edit-goods .parcel-div {
    display: flex;
}

.edit-goods .goods-upload-img {
    display: flex;
}

.edit-goods .goods-upload-img img {
    width: 144px;
    height: 144px;
    border: 1px solid #DBDBDB;
}

.edit-goods form div:nth-child(3) .right-part {
    flex-grow: 1;
}

.edit-goods .save-goods-btn {
    display: flex;
    margin-top: 15px;
    justify-content: center;
}

.edit-goods .save-goods-btn button {
    border: none;
    color: #fff;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 2px;
    padding: 10px 30px;
    transition: all 0.5s ease;
    background-color: #009688;
}

.edit-goods .save-goods-btn button:hover {
    opacity: 0.8;
}

body>div>div.edit-goods>form>.parcel-div>div>.layui-form-item>label,
body>div>div.edit-goods>form>.parcel-div>div>.layui-form-item>.layui-input-block>input,
body>div>div.edit-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(2)>div>div>div>input,
body>div>div.edit-goods>form>div:nth-child(2)>div.goods-color-select>.layui-form-item>div>div>div>input,
body>div>div.edit-goods>form>div:nth-child(3)>div.left-part>label,
body>div>div.edit-goods>form>div:nth-child(3)>div.right-part>div>textarea,
body>div>div.edit-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(3)>div>div>div>input,
body>div>div.edit-goods>form>div:nth-child(1)>div.goods-name-sort>div:nth-child(4)>div>div>div>input{
    border: 1px solid #DBDBDB;
}

body>div>div.edit-goods>form>div:nth-child(1)>div.goods-name-sort>.layui-form-item>div,
body>div>div.edit-goods>form>div:nth-child(2)>div.goods-color-select>.layui-form-item>div,
body>div>div.edit-add-goods>form>div:nth-child(2)>div.goods-color-select>div>div{
    margin-right: 10px;
}

body>div>div.edit-goods>form>div:nth-child(3)>div.right-part>div {
    margin-left: 0;
}